<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title><?php echo ($title); ?></title>
    <link rel="stylesheet" href="/Public/web/css/pintuer.css">
    <link rel="stylesheet" href="/Public/web/css/admin.css">
    <script src="/Public/web/js/jquery.js"></script>
    <script src="/Public/web/js/pintuer.js"></script>
</head>


<body>
  <div class="panel admin-panel">
    <div class="body-content">
      <form method="post" class="form-x" action="" enctype="multipart/form-data">
        <div class="form-group">
          <div class="label">
            <label><?php echo L("dingdanhao");?>：</label>
          </div>
          <div class="field">
            <input type="text" readonly unselectable="on" name="order_number" value="<?php echo ($info['order_number']); ?>" class="input w50">
          </div>
        </div>
        <div class="form-group">
          <div class="label">
            <label><?php echo L("dingdanhaoshangpin");?>：</label>
          </div>
          <div class="field">
            <span class="input w50" style="background: #ddd"><?php echo ((isset($info['goods_option_name']) && ($info['goods_option_name'] !== ""))?($info['goods_option_name']):'已删除商品'); ?></span>
          </div>
        </div>
        <div class="form-group">
          <div class="label">
            <label><?php echo L("chengjiaojine");?>：</label>
          </div>
          <div class="field">
            <input type="text" class="input w50" name="total_price" value="<?php echo ($info['pay_money']); ?>" data-validate="required:<?php echo L('qingshuru'); echo L('chengjiaojine');?>" />
          </div>
        </div>
        <div class="form-group">
          <div class="label">
            <label><?php echo L("dingdanzt");?>：</label>
          </div>
          <div class="field" style="padding-top:8px;"> 
            <input name="status" type="radio" value="1" <?php if($info['pay_status'] == 1): ?>checked="checked"<?php endif; ?>/><?php echo L("weifukuan");?>　
            <input name="status" type="radio" value="2" <?php if($info['pay_status'] == 2): ?>checked="checked"<?php endif; ?>/><?php echo L("yifukuan");?>　
            <input name="status" type="radio" value="3" <?php if($info['pay_status'] == 3): ?>checked="checked"<?php endif; ?>/><?php echo L("yituikuan");?>　
          </div>
        </div>
        <div class="form-group">
          <div class="label">
            <label><?php echo L("dingcanren");?>：</label>
          </div>
          <div class="field">
            <input type="text" class="input w50" name="full_name" value="<?php echo ($info['nick_name']); ?>" data-validate="required:<?php echo L('qingshuru'); echo L('shoujianxingming');?>" />
          </div>
        </div>
        <div class="form-group">
          <div class="label">
            <label><?php echo L("lianxidianhua");?>：</label>
          </div>
          <div class="field">
            <input type="text" class="input w50" name="tel" value="<?php echo ($info['mobile']); ?>" data-validate="required:<?php echo L('qingshuru'); echo L('lianxidianhua');?>" />
          </div>
        </div>
        <div class="form-group">
          <div class="label">
            <label><?php echo L("dizhi");?>：</label>
          </div>
          <div class="field">
            <input type="text" class="input" name="address" value="<?php echo ($info['address']); ?>" />
          </div>
        </div>
        <div class="form-group">
          <div class="label">
            <label><?php echo L("dingdanliuyan");?>：</label>
          </div>
          <div class="field">
            <span class="input w50" style="background: #ddd"><?php echo ((isset($info['message']) && ($info['message'] !== ""))?($info['message']):'没'); ?></span>
          </div>
        </div>
        <div class="form-group">
          <div class="label">
            <label><?php echo L("xiadanshijian");?>：</label>
          </div>
          <div class="field">
            <span class="input w50" style="background: #ddd"><?php echo (date("Y-m-d H:i:s",$info['time'])); ?></span>
          </div>
        </div>
        <?php if($info['pay_status'] == 1): ?><div class="form-group">
            <div class="label">
              <label><?php echo L("zhifushijian");?>：</label>
            </div>
            <div class="field">
              <span class="input w50" style="background: #ddd"><?php echo (date("Y-m-d H:i:s",$info['pay_time'])); ?></span>
            </div>
          </div><?php endif; ?>
        <input type="hidden" name="id" value="<?php echo ($info['id']); ?>">
        <input type="hidden" name="oid" value="<?php echo ($info['oid']); ?>">
        <div class="form-group">
          <div class="label">
            <label></label>
          </div>
          <div class="field">
            <button class="button bg-main icon-check-square-o" type="submit"> <?php echo L("tijiao");?></button>
          </div>
        </div>
      </form>
    </div>
  </div>
</body>

</html>